package Movimientos;

import Componentes.Fecha;
import Componentes.InternalFrame;

public class dlgIngreso extends InternalFrame {

    private static dlgIngreso yo = null;

    public static dlgIngreso getInstance() {
        if (yo == null) {
            yo = new dlgIngreso();
        }
        return yo;
    }

    private dlgIngreso() {
        initComponents();
        Fecha f= new Fecha();
        lblFecha.setText(f.Hoy(Fecha.LARGA)); 
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        bindingGroup = new org.jdesktop.beansbinding.BindingGroup();

        entityManager1 = java.beans.Beans.isDesignTime() ? null : javax.persistence.Persistence.createEntityManagerFactory("goBox").createEntityManager();
        tblClientesQuery = java.beans.Beans.isDesignTime() ? null : entityManager1.createQuery("SELECT t FROM TblClientes t");
        tblClientesList = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : org.jdesktop.observablecollections.ObservableCollections.observableList(new java.util.LinkedList(tblClientesQuery.getResultList()));
        separador = new javax.swing.JToolBar();
        filler1 = new javax.swing.Box.Filler(new java.awt.Dimension(100, 0), new java.awt.Dimension(550, 0), new java.awt.Dimension(2000, 32767));
        jLabel9 = new javax.swing.JLabel();
        pnlRedondo1 = new org.edisoncor.gui.panel.PanelNice();
        jSplitPane1 = new javax.swing.JSplitPane();
        pnlRedondo2 = new org.edisoncor.gui.panel.PanelNice();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        pnlRedondo5 = new org.edisoncor.gui.panel.PanelNice();
        pnlRedondo6 = new org.edisoncor.gui.panel.PanelNice();
        pnlRedondo4 = new org.edisoncor.gui.panel.PanelNice();
        comboBox1 = new Componentes.ComboBox();
        jLabel1 = new javax.swing.JLabel();
        comboBox2 = new Componentes.ComboBox();
        jLabel2 = new javax.swing.JLabel();
        textField1 = new Componentes.Texfields.TextField();
        textField2 = new Componentes.Texfields.TextField();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        textField3 = new Componentes.Texfields.TextField();
        jLabel5 = new javax.swing.JLabel();
        textField4 = new Componentes.Texfields.TextField();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        textField5 = new Componentes.Texfields.TextField();
        textField6 = new Componentes.Texfields.TextField();
        jLabel8 = new javax.swing.JLabel();
        pnlRedondo8 = new org.edisoncor.gui.panel.PanelNice();
        jLabel10 = new javax.swing.JLabel();
        lblFecha = new javax.swing.JLabel();
        cbxFactura = new javax.swing.JCheckBox();
        pnlRedondo3 = new org.edisoncor.gui.panel.PanelNice();
        pnlRedondo7 = new org.edisoncor.gui.panel.PanelNice();
        textField10 = new Componentes.Texfields.TextField();
        textField11 = new Componentes.Texfields.TextField();
        jLabel12 = new javax.swing.JLabel();
        jLabel13 = new javax.swing.JLabel();
        textField12 = new Componentes.Texfields.TextField();
        jLabel14 = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        tblDatos1 = new Componentes.tblDatos();

        setBackground(new java.awt.Color(255, 255, 255));
        setClosable(true);
        setIconifiable(true);
        setMaximizable(true);
        setResizable(true);
        setTitle(Configuraciones.Configuraciones.NOMBRE_ORDEN_ENVIO);
        setFrameIcon(Configuraciones.Configuraciones.ICONO_INGRESO);

        separador.setBackground(new java.awt.Color(121, 137, 167));
        separador.setBorder(null);
        separador.setFloatable(false);
        separador.setRollover(true);
        separador.add(filler1);

        jLabel9.setFont(new java.awt.Font("Lucida Grande", 0, 14)); // NOI18N
        jLabel9.setForeground(new java.awt.Color(255, 255, 255));
        jLabel9.setText("Nº Guia                      ");
        separador.add(jLabel9);

        pnlRedondo1.setBackground(new java.awt.Color(220, 230, 240));

        jSplitPane1.setBorder(null);
        jSplitPane1.setDividerLocation(300);
        jSplitPane1.setDividerSize(6);
        jSplitPane1.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        jSplitPane1.setOpaque(false);

        pnlRedondo2.setBackground(new java.awt.Color(255, 255, 255));

        pnlRedondo5.setBackground(new java.awt.Color(255, 255, 255));

        org.jdesktop.layout.GroupLayout pnlRedondo5Layout = new org.jdesktop.layout.GroupLayout(pnlRedondo5);
        pnlRedondo5.setLayout(pnlRedondo5Layout);
        pnlRedondo5Layout.setHorizontalGroup(
            pnlRedondo5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 777, Short.MAX_VALUE)
        );
        pnlRedondo5Layout.setVerticalGroup(
            pnlRedondo5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 247, Short.MAX_VALUE)
        );

        jTabbedPane1.addTab("Remitente", pnlRedondo5);

        pnlRedondo6.setBackground(new java.awt.Color(255, 255, 255));

        org.jdesktop.layout.GroupLayout pnlRedondo6Layout = new org.jdesktop.layout.GroupLayout(pnlRedondo6);
        pnlRedondo6.setLayout(pnlRedondo6Layout);
        pnlRedondo6Layout.setHorizontalGroup(
            pnlRedondo6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 777, Short.MAX_VALUE)
        );
        pnlRedondo6Layout.setVerticalGroup(
            pnlRedondo6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 247, Short.MAX_VALUE)
        );

        jTabbedPane1.addTab("Destinatario", pnlRedondo6);

        pnlRedondo4.setBackground(new java.awt.Color(255, 255, 255));

        org.jdesktop.swingbinding.JComboBoxBinding jComboBoxBinding = org.jdesktop.swingbinding.SwingBindings.createJComboBoxBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tblClientesList, comboBox1);
        bindingGroup.addBinding(jComboBoxBinding);
        org.jdesktop.beansbinding.Binding binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, cbxFactura, org.jdesktop.beansbinding.ELProperty.create("${selected}"), comboBox1, org.jdesktop.beansbinding.BeanProperty.create("enabled"));
        bindingGroup.addBinding(binding);

        jLabel1.setText("Cliente");

        org.jdesktop.beansbinding.ELProperty eLProperty = org.jdesktop.beansbinding.ELProperty.create("${selectedItem.tblDireccionesList}");
        jComboBoxBinding = org.jdesktop.swingbinding.SwingBindings.createJComboBoxBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, comboBox1, eLProperty, comboBox2);
        bindingGroup.addBinding(jComboBoxBinding);
        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, cbxFactura, org.jdesktop.beansbinding.ELProperty.create("${selected}"), comboBox2, org.jdesktop.beansbinding.BeanProperty.create("enabled"));
        bindingGroup.addBinding(binding);

        jLabel2.setText("Teléfono");

        textField1.setEnabled(false);

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, comboBox2, org.jdesktop.beansbinding.ELProperty.create("${selectedItem.noInterior}"), textField1, org.jdesktop.beansbinding.BeanProperty.create("text"));
        binding.setSourceNullValue("");
        bindingGroup.addBinding(binding);

        textField2.setEnabled(false);

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, comboBox2, org.jdesktop.beansbinding.ELProperty.create("${selectedItem.colonia}"), textField2, org.jdesktop.beansbinding.BeanProperty.create("text"));
        binding.setSourceNullValue("");
        bindingGroup.addBinding(binding);

        jLabel3.setText("Exterior");

        jLabel4.setText("Colonia");

        textField3.setEnabled(false);

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, comboBox2, org.jdesktop.beansbinding.ELProperty.create("${selectedItem.cp}"), textField3, org.jdesktop.beansbinding.BeanProperty.create("text"));
        binding.setSourceNullValue("");
        bindingGroup.addBinding(binding);

        jLabel5.setText("CP");

        textField4.setEnabled(false);

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, comboBox1, org.jdesktop.beansbinding.ELProperty.create("${selectedItem.telefono}"), textField4, org.jdesktop.beansbinding.BeanProperty.create("text"));
        bindingGroup.addBinding(binding);

        jLabel6.setText("Dirección");

        jLabel7.setText("Correo");

        textField5.setEnabled(false);

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, comboBox1, org.jdesktop.beansbinding.ELProperty.create("${selectedItem.correo}"), textField5, org.jdesktop.beansbinding.BeanProperty.create("text"));
        bindingGroup.addBinding(binding);

        textField6.setEnabled(false);

        binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, comboBox1, org.jdesktop.beansbinding.ELProperty.create("${selectedItem.rfc}"), textField6, org.jdesktop.beansbinding.BeanProperty.create("text"));
        bindingGroup.addBinding(binding);

        jLabel8.setText("RFC");

        pnlRedondo8.setBackground(new java.awt.Color(121, 137, 167));
        pnlRedondo8.setAnchoDeBorde(0.0F);

        jLabel10.setFont(new java.awt.Font("Lucida Grande", 0, 14)); // NOI18N
        jLabel10.setForeground(new java.awt.Color(255, 255, 255));
        jLabel10.setText("Factura");

        lblFecha.setFont(new java.awt.Font("Lucida Grande", 0, 14)); // NOI18N
        lblFecha.setForeground(new java.awt.Color(255, 255, 255));
        lblFecha.setText("Fecha");

        cbxFactura.setForeground(new java.awt.Color(255, 255, 255));
        cbxFactura.setText("Requiere Factura");

        org.jdesktop.layout.GroupLayout pnlRedondo8Layout = new org.jdesktop.layout.GroupLayout(pnlRedondo8);
        pnlRedondo8.setLayout(pnlRedondo8Layout);
        pnlRedondo8Layout.setHorizontalGroup(
            pnlRedondo8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlRedondo8Layout.createSequentialGroup()
                .addContainerGap()
                .add(jLabel10, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 246, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(lblFecha, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 316, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(cbxFactura)
                .addContainerGap(43, Short.MAX_VALUE))
        );
        pnlRedondo8Layout.setVerticalGroup(
            pnlRedondo8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlRedondo8Layout.createSequentialGroup()
                .add(4, 4, 4)
                .add(pnlRedondo8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel10)
                    .add(lblFecha)
                    .add(cbxFactura))
                .add(5, 5, 5))
        );

        org.jdesktop.layout.GroupLayout pnlRedondo4Layout = new org.jdesktop.layout.GroupLayout(pnlRedondo4);
        pnlRedondo4.setLayout(pnlRedondo4Layout);
        pnlRedondo4Layout.setHorizontalGroup(
            pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlRedondo4Layout.createSequentialGroup()
                .add(4, 4, 4)
                .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(pnlRedondo4Layout.createSequentialGroup()
                        .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                            .add(jLabel6)
                            .add(pnlRedondo4Layout.createSequentialGroup()
                                .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(textField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 80, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(jLabel3))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jLabel4)
                                    .add(textField2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 143, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(textField3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 80, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(jLabel5)))
                            .add(comboBox2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .add(0, 458, Short.MAX_VALUE))
                    .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                        .add(pnlRedondo4Layout.createSequentialGroup()
                            .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                .add(pnlRedondo4Layout.createSequentialGroup()
                                    .add(jLabel2)
                                    .add(0, 0, Short.MAX_VALUE))
                                .add(textField4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                            .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                                .add(pnlRedondo4Layout.createSequentialGroup()
                                    .add(jLabel7)
                                    .add(269, 269, 269))
                                .add(textField5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                        .add(pnlRedondo4Layout.createSequentialGroup()
                            .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                .add(comboBox1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 364, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(jLabel1))
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                .add(textField6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 209, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(jLabel8))
                            .addContainerGap(96, Short.MAX_VALUE)))))
            .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlRedondo4Layout.createSequentialGroup()
                .addContainerGap()
                .add(pnlRedondo8, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        pnlRedondo4Layout.setVerticalGroup(
            pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlRedondo4Layout.createSequentialGroup()
                .addContainerGap()
                .add(pnlRedondo8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel1)
                    .add(jLabel8))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(comboBox1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(textField6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(pnlRedondo4Layout.createSequentialGroup()
                        .add(jLabel2)
                        .add(2, 2, 2)
                        .add(textField4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(pnlRedondo4Layout.createSequentialGroup()
                        .add(jLabel7)
                        .add(2, 2, 2)
                        .add(textField5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                .add(1, 1, 1)
                .add(jLabel6)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(comboBox2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(pnlRedondo4Layout.createSequentialGroup()
                        .add(jLabel5)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(textField3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(pnlRedondo4Layout.createSequentialGroup()
                        .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLabel3)
                            .add(jLabel4))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(pnlRedondo4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(textField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(textField2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))))
        );

        jTabbedPane1.addTab("Facturación", pnlRedondo4);

        org.jdesktop.layout.GroupLayout pnlRedondo2Layout = new org.jdesktop.layout.GroupLayout(pnlRedondo2);
        pnlRedondo2.setLayout(pnlRedondo2Layout);
        pnlRedondo2Layout.setHorizontalGroup(
            pnlRedondo2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlRedondo2Layout.createSequentialGroup()
                .add(4, 4, 4)
                .add(jTabbedPane1)
                .add(4, 4, 4))
        );
        pnlRedondo2Layout.setVerticalGroup(
            pnlRedondo2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlRedondo2Layout.createSequentialGroup()
                .add(4, 4, 4)
                .add(jTabbedPane1)
                .addContainerGap())
        );

        jTabbedPane1.getAccessibleContext().setAccessibleName("Facturacion");

        jSplitPane1.setTopComponent(pnlRedondo2);

        pnlRedondo3.setBackground(new java.awt.Color(255, 255, 255));

        pnlRedondo7.setBackground(new java.awt.Color(121, 137, 167));
        pnlRedondo7.setAnchoDeBorde(0.0F);

        textField10.setFont(new java.awt.Font("Lucida Grande", 0, 18)); // NOI18N

        textField11.setFont(new java.awt.Font("Lucida Grande", 0, 18)); // NOI18N

        jLabel12.setFont(new java.awt.Font("Lucida Grande", 0, 14)); // NOI18N
        jLabel12.setForeground(new java.awt.Color(255, 255, 255));
        jLabel12.setText("Subtotal");

        jLabel13.setFont(new java.awt.Font("Lucida Grande", 0, 14)); // NOI18N
        jLabel13.setForeground(new java.awt.Color(255, 255, 255));
        jLabel13.setText("I.V.A");

        textField12.setFont(new java.awt.Font("Lucida Grande", 0, 18)); // NOI18N

        jLabel14.setFont(new java.awt.Font("Lucida Grande", 0, 14)); // NOI18N
        jLabel14.setForeground(new java.awt.Color(255, 255, 255));
        jLabel14.setText("Total");

        org.jdesktop.layout.GroupLayout pnlRedondo7Layout = new org.jdesktop.layout.GroupLayout(pnlRedondo7);
        pnlRedondo7.setLayout(pnlRedondo7Layout);
        pnlRedondo7Layout.setHorizontalGroup(
            pnlRedondo7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlRedondo7Layout.createSequentialGroup()
                .addContainerGap()
                .add(pnlRedondo7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(textField10, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(textField11, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, textField12, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(pnlRedondo7Layout.createSequentialGroup()
                        .add(pnlRedondo7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(pnlRedondo7Layout.createSequentialGroup()
                                .add(6, 6, 6)
                                .add(pnlRedondo7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jLabel14)
                                    .add(jLabel13)))
                            .add(jLabel12))
                        .add(0, 119, Short.MAX_VALUE)))
                .addContainerGap())
        );
        pnlRedondo7Layout.setVerticalGroup(
            pnlRedondo7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlRedondo7Layout.createSequentialGroup()
                .add(10, 10, 10)
                .add(jLabel12)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(textField10, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jLabel13)
                .add(4, 4, 4)
                .add(textField11, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .add(4, 4, 4)
                .add(jLabel14)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(textField12, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(9, Short.MAX_VALUE))
        );

        tblDatos1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(tblDatos1);

        org.jdesktop.layout.GroupLayout pnlRedondo3Layout = new org.jdesktop.layout.GroupLayout(pnlRedondo3);
        pnlRedondo3.setLayout(pnlRedondo3Layout);
        pnlRedondo3Layout.setHorizontalGroup(
            pnlRedondo3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlRedondo3Layout.createSequentialGroup()
                .add(8, 8, 8)
                .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 594, Short.MAX_VALUE)
                .add(8, 8, 8)
                .add(pnlRedondo7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .add(8, 8, 8))
        );
        pnlRedondo3Layout.setVerticalGroup(
            pnlRedondo3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlRedondo3Layout.createSequentialGroup()
                .add(8, 8, 8)
                .add(pnlRedondo3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(pnlRedondo7, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))
                .add(8, 8, 8))
        );

        jSplitPane1.setRightComponent(pnlRedondo3);

        org.jdesktop.layout.GroupLayout pnlRedondo1Layout = new org.jdesktop.layout.GroupLayout(pnlRedondo1);
        pnlRedondo1.setLayout(pnlRedondo1Layout);
        pnlRedondo1Layout.setHorizontalGroup(
            pnlRedondo1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, pnlRedondo1Layout.createSequentialGroup()
                .add(8, 8, 8)
                .add(jSplitPane1)
                .add(8, 8, 8))
        );
        pnlRedondo1Layout.setVerticalGroup(
            pnlRedondo1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pnlRedondo1Layout.createSequentialGroup()
                .add(8, 8, 8)
                .add(jSplitPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 520, Short.MAX_VALUE)
                .add(8, 8, 8))
        );

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(separador, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .add(layout.createSequentialGroup()
                .add(8, 8, 8)
                .add(pnlRedondo1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .add(8, 8, 8))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .add(separador, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .add(8, 8, 8)
                .add(pnlRedondo1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );

        bindingGroup.bind();

        pack();
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JCheckBox cbxFactura;
    private Componentes.ComboBox comboBox1;
    private Componentes.ComboBox comboBox2;
    private javax.persistence.EntityManager entityManager1;
    private javax.swing.Box.Filler filler1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JSplitPane jSplitPane1;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JLabel lblFecha;
    private org.edisoncor.gui.panel.PanelNice pnlRedondo1;
    private org.edisoncor.gui.panel.PanelNice pnlRedondo2;
    private org.edisoncor.gui.panel.PanelNice pnlRedondo3;
    private org.edisoncor.gui.panel.PanelNice pnlRedondo4;
    private org.edisoncor.gui.panel.PanelNice pnlRedondo5;
    private org.edisoncor.gui.panel.PanelNice pnlRedondo6;
    private org.edisoncor.gui.panel.PanelNice pnlRedondo7;
    private org.edisoncor.gui.panel.PanelNice pnlRedondo8;
    private javax.swing.JToolBar separador;
    private java.util.List<Modelos.TblClientes> tblClientesList;
    private javax.persistence.Query tblClientesQuery;
    private Componentes.tblDatos tblDatos1;
    private Componentes.Texfields.TextField textField1;
    private Componentes.Texfields.TextField textField10;
    private Componentes.Texfields.TextField textField11;
    private Componentes.Texfields.TextField textField12;
    private Componentes.Texfields.TextField textField2;
    private Componentes.Texfields.TextField textField3;
    private Componentes.Texfields.TextField textField4;
    private Componentes.Texfields.TextField textField5;
    private Componentes.Texfields.TextField textField6;
    private org.jdesktop.beansbinding.BindingGroup bindingGroup;
    // End of variables declaration//GEN-END:variables
}
